var Comfirm = function(title,message,callBack,cancelCall){
	
	var str ='<div  class="message1" ><div class="message2" >'+title+'</div><div class="message3" >'+message+'</div><div class="message4" ><a class="message5" >确定</a><a class="message6" >取消</a></div></div>';
	
	
	
	this.show = function(){
	
		$(document.body).append($(str));
		$(".message6").click(function(){
			close();
			if(cancelCall != null){
				cancelCall();
			}
		});
		$(".message5").click(function(){
			close();
			if(callBack != null){
				callBack();
			}
		});
	};
	
	var close = function(){
		$(".message1").hide();
	};
	
	
	
	this.show();
	return this;
};
